package com.bz.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.bz.model.HomeDto;
import com.bz.service.IBusinessScopeService;
import com.bz.service.IHomeService;

@RestController
@RequestMapping(value = "/api/home")
public class HomeController {

    @Autowired
    private IHomeService homeService;

    @RequestMapping(value = "/info")
    public HomeDto info() {
        return homeService.info();
    }
}
